/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.desktop;

import java.io.FileInputStream;
import java.io.InputStreamReader;
import model.Operator;

/**
 *
 * @author camil
 */
public class DesktopTabsPanel extends view.base.TabsPanel {
    
    public DesktopTabsPanel(String _operatorsFile){
        super(_operatorsFile);
    }
    
    @Override
    protected void loadStartOperators() throws Exception{
        InputStreamReader file = new InputStreamReader(new FileInputStream(operatorsFile), "UTF8");
        operators = Operator.loadOperators(file);
    }
}
